package com.hejia.alauda.service;

import com.hejia.alauda.entity.B2BPayOrder;
import com.hejia.alauda.utils.Pager;

/**
 * 
 * 
 *
 *
 * Created by showone on 2015 上午10:31:29.
 *
 * @Copyright: 2015 www.hejiajinrong.com All rights reserved.
 */
public interface B2BPayOrderService {

	/**
	 * 增加企业充值订单
	 * 
	 * @param order
	 * @return
	 */
	public boolean addB2BPayOrder(B2BPayOrder order);

	/**
	 * 更新订单状态
	 * 
	 * @param status
	 * @return
	 */
	public boolean updateOrderStatusByOrderNumber(String orderNumber,
			B2BPayOrder.Status status);

    public Pager<B2BPayOrder> pagerB2bPayOrder(B2BPayOrder.Status status, String valueDate, Pager<B2BPayOrder> pager);

	public B2BPayOrder findB2BPayOrderByOrderNumber(String orderNumber);
}
